﻿using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace StockSystem.StockSystem.OutStocks.Dtos
{
    [AutoMapTo(typeof(OutStockSummary))]
    public class OutStockSummaryEditDto
    {
        public int? Id { get; set; }

        //出库单号
        [Required]
        public string OutStockCode { get; set; }

        //客户        
        [Required]
        public int CustomerId { get; set; }
        
        //操作人
        [Required]
        public string OperatingUser { get; set; }

        //操作时间
        [Required]
        public DateTime OperatingTime { get; set; }

        public Decimal TotalAmount { get; set; }

        [Required]
        public List<OutStockDetail> OutStockDetails { get; set; }
    }
}
